\hypertarget{classblackrlenv_1_1_black_r_l_env}{\section{blackrlenv.\-Black\-R\-L\-Env Class Reference}
\label{classblackrlenv_1_1_black_r_l_env}\index{blackrlenv.\-Black\-R\-L\-Env@{blackrlenv.\-Black\-R\-L\-Env}}
}
Inheritance diagram for blackrlenv.\-Black\-R\-L\-Env\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classblackrlenv_1_1_black_r_l_env}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{classblackrlenv_1_1_black_r_l_env_a3fb367524c6aad7cdaf13919efffe25d}{\-\_\-\-\_\-init\-\_\-\-\_\-}
\item 
def \hyperlink{classblackrlenv_1_1_black_r_l_env_a5b2c34948bf1717c493a613fa0046c27}{reset}
\item 
def \hyperlink{classblackrlenv_1_1_black_r_l_env_ae5b10e0c55750ecf8377f5ea73142157}{get\-Sensors}
\item 
def \hyperlink{classblackrlenv_1_1_black_r_l_env_a0fee88e042f84da39e3e76c8b1e28a55}{perform\-Action}
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classblackrlenv_1_1_black_r_l_env_aaf309fb54d78aa5388bad0b32fecdc9b}{{\bfseries topology}}\label{classblackrlenv_1_1_black_r_l_env_aaf309fb54d78aa5388bad0b32fecdc9b}

\item 
\hypertarget{classblackrlenv_1_1_black_r_l_env_aec3106f2b79667ea9626ad723e08498b}{{\bfseries goal}}\label{classblackrlenv_1_1_black_r_l_env_aec3106f2b79667ea9626ad723e08498b}

\item 
\hypertarget{classblackrlenv_1_1_black_r_l_env_a2ad92897b3bf6c1f56d677b529612108}{{\bfseries shoe}}\label{classblackrlenv_1_1_black_r_l_env_a2ad92897b3bf6c1f56d677b529612108}

\item 
\hypertarget{classblackrlenv_1_1_black_r_l_env_ae3d193b605516fb5df814b076c1aa880}{{\bfseries count}}\label{classblackrlenv_1_1_black_r_l_env_ae3d193b605516fb5df814b076c1aa880}

\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classblackrlenv_1_1_black_r_l_env_a3b2c13501851dcee455103abc7b94857}{int \hyperlink{classblackrlenv_1_1_black_r_l_env_a3b2c13501851dcee455103abc7b94857}{indim} = 0}\label{classblackrlenv_1_1_black_r_l_env_a3b2c13501851dcee455103abc7b94857}

\begin{DoxyCompactList}\small\item\em The number of actions the environment accepts. \end{DoxyCompactList}\item 
\hypertarget{classblackrlenv_1_1_black_r_l_env_aaba4c7413c040a5bca8e7e94946e7f71}{int \hyperlink{classblackrlenv_1_1_black_r_l_env_aaba4c7413c040a5bca8e7e94946e7f71}{outdim} = 0}\label{classblackrlenv_1_1_black_r_l_env_aaba4c7413c040a5bca8e7e94946e7f71}

\begin{DoxyCompactList}\small\item\em The number of states the environment produces. \end{DoxyCompactList}\item 
\hypertarget{classblackrlenv_1_1_black_r_l_env_afe1030aacc11e18193cf1e29d9766958}{\hyperlink{classblackrlenv_1_1_black_r_l_env_afe1030aacc11e18193cf1e29d9766958}{discrete\-States} = True}\label{classblackrlenv_1_1_black_r_l_env_afe1030aacc11e18193cf1e29d9766958}

\begin{DoxyCompactList}\small\item\em Discrete State Space. \end{DoxyCompactList}\item 
\hypertarget{classblackrlenv_1_1_black_r_l_env_a10d1e57d2be1d80adad8fa200bf7a506}{\hyperlink{classblackrlenv_1_1_black_r_l_env_a10d1e57d2be1d80adad8fa200bf7a506}{discrete\-Actions} = True}\label{classblackrlenv_1_1_black_r_l_env_a10d1e57d2be1d80adad8fa200bf7a506}

\begin{DoxyCompactList}\small\item\em Discrete Action Space. \end{DoxyCompactList}\item 
\hypertarget{classblackrlenv_1_1_black_r_l_env_a174ec4f2d1a77b339e5268e402e7159f}{int \hyperlink{classblackrlenv_1_1_black_r_l_env_a174ec4f2d1a77b339e5268e402e7159f}{num\-Actions} = 0}\label{classblackrlenv_1_1_black_r_l_env_a174ec4f2d1a77b339e5268e402e7159f}

\begin{DoxyCompactList}\small\item\em Number of possible actions within the discrete action space. \end{DoxyCompactList}\item 
\hypertarget{classblackrlenv_1_1_black_r_l_env_acd09072b318953c9e4df19f8ab5f1735}{\hyperlink{classblackrlenv_1_1_black_r_l_env_acd09072b318953c9e4df19f8ab5f1735}{perseus} = None}\label{classblackrlenv_1_1_black_r_l_env_acd09072b318953c9e4df19f8ab5f1735}

\begin{DoxyCompactList}\small\item\em Current State. \end{DoxyCompactList}\item 
list \hyperlink{classblackrlenv_1_1_black_r_l_env_aa2f43756cec4a6132c6355406818c452}{action\-\_\-set} = \mbox{[}\hyperlink{classactions_1_1_actions_ae365b3ff7b564cf6f198baf0377340d7}{Actions.\-H\-I\-T}, \hyperlink{classactions_1_1_actions_a901153919cfcb1c34a29321f79603fc0}{Actions.\-S\-T\-A\-N\-D}\mbox{]}
\begin{DoxyCompactList}\small\item\em Possible Actions the agent can perform. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This is the logic for the reinforcement learning environment. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classblackrlenv_1_1_black_r_l_env_a3fb367524c6aad7cdaf13919efffe25d}{\index{blackrlenv\-::\-Black\-R\-L\-Env@{blackrlenv\-::\-Black\-R\-L\-Env}!\-\_\-\-\_\-init\-\_\-\-\_\-@{\-\_\-\-\_\-init\-\_\-\-\_\-}}
\index{\-\_\-\-\_\-init\-\_\-\-\_\-@{\-\_\-\-\_\-init\-\_\-\-\_\-}!blackrlenv::BlackRLEnv@{blackrlenv\-::\-Black\-R\-L\-Env}}
\subsubsection[{\-\_\-\-\_\-init\-\_\-\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}def blackrlenv.\-Black\-R\-L\-Env.\-\_\-\-\_\-init\-\_\-\-\_\- (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{topology = {\ttfamily \mbox{[}\mbox{]}}, }
\item[{}]{goal = {\ttfamily 0}, }
\item[{}]{args}
\end{DoxyParamCaption}
)}}\label{classblackrlenv_1_1_black_r_l_env_a3fb367524c6aad7cdaf13919efffe25d}
Class constructor that sets a known framework for the learning. 

\subsection{Member Function Documentation}
\hypertarget{classblackrlenv_1_1_black_r_l_env_ae5b10e0c55750ecf8377f5ea73142157}{\index{blackrlenv\-::\-Black\-R\-L\-Env@{blackrlenv\-::\-Black\-R\-L\-Env}!get\-Sensors@{get\-Sensors}}
\index{get\-Sensors@{get\-Sensors}!blackrlenv::BlackRLEnv@{blackrlenv\-::\-Black\-R\-L\-Env}}
\subsubsection[{get\-Sensors}]{\setlength{\rightskip}{0pt plus 5cm}def blackrlenv.\-Black\-R\-L\-Env.\-get\-Sensors (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}\label{classblackrlenv_1_1_black_r_l_env_ae5b10e0c55750ecf8377f5ea73142157}
This returns the items that are used to create the state of the system. \begin{DoxyPrecond}{Precondition}
none 
\end{DoxyPrecond}
\begin{DoxyPostcond}{Postcondition}
none 
\end{DoxyPostcond}

\begin{DoxyParams}{Parameters}
{\em none} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The perseus, representing the player and dealer hands. 
\end{DoxyReturn}
\hypertarget{classblackrlenv_1_1_black_r_l_env_a0fee88e042f84da39e3e76c8b1e28a55}{\index{blackrlenv\-::\-Black\-R\-L\-Env@{blackrlenv\-::\-Black\-R\-L\-Env}!perform\-Action@{perform\-Action}}
\index{perform\-Action@{perform\-Action}!blackrlenv::BlackRLEnv@{blackrlenv\-::\-Black\-R\-L\-Env}}
\subsubsection[{perform\-Action}]{\setlength{\rightskip}{0pt plus 5cm}def blackrlenv.\-Black\-R\-L\-Env.\-perform\-Action (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{action}
\end{DoxyParamCaption}
)}}\label{classblackrlenv_1_1_black_r_l_env_a0fee88e042f84da39e3e76c8b1e28a55}
Performs the desired actions of the agent. \begin{DoxyPrecond}{Precondition}
none 
\end{DoxyPrecond}
\begin{DoxyPostcond}{Postcondition}
Updated state based on the desired action. 
\end{DoxyPostcond}

\begin{DoxyParams}{Parameters}
{\em action} & The desired action of the agent. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
none 
\end{DoxyReturn}
\hypertarget{classblackrlenv_1_1_black_r_l_env_a5b2c34948bf1717c493a613fa0046c27}{\index{blackrlenv\-::\-Black\-R\-L\-Env@{blackrlenv\-::\-Black\-R\-L\-Env}!reset@{reset}}
\index{reset@{reset}!blackrlenv::BlackRLEnv@{blackrlenv\-::\-Black\-R\-L\-Env}}
\subsubsection[{reset}]{\setlength{\rightskip}{0pt plus 5cm}def blackrlenv.\-Black\-R\-L\-Env.\-reset (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}\label{classblackrlenv_1_1_black_r_l_env_a5b2c34948bf1717c493a613fa0046c27}
This reset, takes all cards from the dealer and player and gives them new cards. \begin{DoxyPrecond}{Precondition}
none 
\end{DoxyPrecond}
\begin{DoxyPostcond}{Postcondition}
perseus is updated with the dealer and player hands. 
\end{DoxyPostcond}

\begin{DoxyParams}{Parameters}
{\em none} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
none 
\end{DoxyReturn}


\subsection{Member Data Documentation}
\hypertarget{classblackrlenv_1_1_black_r_l_env_aa2f43756cec4a6132c6355406818c452}{\index{blackrlenv\-::\-Black\-R\-L\-Env@{blackrlenv\-::\-Black\-R\-L\-Env}!action\-\_\-set@{action\-\_\-set}}
\index{action\-\_\-set@{action\-\_\-set}!blackrlenv::BlackRLEnv@{blackrlenv\-::\-Black\-R\-L\-Env}}
\subsubsection[{action\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}blackrlenv.\-Black\-R\-L\-Env.\-action\-\_\-set = \mbox{[}{\bf Actions.\-H\-I\-T}, {\bf Actions.\-S\-T\-A\-N\-D}\mbox{]}\hspace{0.3cm}{\ttfamily [static]}}}\label{classblackrlenv_1_1_black_r_l_env_aa2f43756cec4a6132c6355406818c452}


Possible Actions the agent can perform. 



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
rlblackjack/\hyperlink{blackrlenv_8py}{blackrlenv.\-py}\end{DoxyCompactItemize}
